package com.wenwu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wenwu.common.bean.RelicsMCulture;
import com.wenwu.common.bean.RelicsMCultureExample;
import com.wenwu.common.page.PaginationVO;

public interface RelicsMCultureMapper extends Dao{
    int countByExample(RelicsMCultureExample example);

    int deleteByExample(RelicsMCultureExample example);

    int deleteByPrimaryKey(Integer mCultureId);

    int insert(RelicsMCulture record);

    int insertSelective(RelicsMCulture record);

    List<RelicsMCulture> selectByExample(RelicsMCultureExample example);

    RelicsMCulture selectByPrimaryKey(Integer mCultureId);

    int updateByExampleSelective(@Param("record") RelicsMCulture record, @Param("example") RelicsMCultureExample example);

    int updateByExample(@Param("record") RelicsMCulture record, @Param("example") RelicsMCultureExample example);

    int updateByPrimaryKeySelective(RelicsMCulture record);

    int updateByPrimaryKey(RelicsMCulture record);
    
    /**
     * 分页查询
     * @param relicsMCulture
     * @param pageVo 
     * @return
     */
    List<RelicsMCulture> selectListByPage(@Param("relicsMCulture") RelicsMCulture relicsMCulture,@Param("pageVo")  PaginationVO pageVo);
    /**
     * 分页查询总数
     * @param relicsMCulture
     * @return
     */
    int selectTotalRecord(@Param("relicsMCulture") RelicsMCulture relicsMCulture);

    /**
     * 根据主键批量删除
     * @param keyList
     * @return
     */
	int deleteInfoByKey(List<String> keyList);
}